<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:s="http://jboss.com/products/seam/taglib"
	  xmlns:ui="http://java.sun.com/jsf/facelets">
<head>

<ui:composition>

	<div id="header">
		<div id="title"><img src="#{facesContext.externalContext.requestContextPath}/app/img/hdr.title.gif" alt="JBoss Suites: seam framework demo" /></div>
<s:div rendered="#{identity.loggedIn}">		
		<div id="status">
            Welcome #{user.name}
            | <span id="settings" style="TEXT-DECORATION: underline;cursor:hand;">Settings</span>
            | <s:link id="logout" action="#{identity.logout}" value="Logout"/>
		</div>
</s:div>
	</div>

</ui:composition>

</head>
</html>